package cn.kxm.dao;

import java.util.List;
import java.util.Map;

import org.apache.ibatis.annotations.Param;

import cn.kxm.pojo.PurchaseOrderBillDetail;

public interface PurchaseOrderBillDetailDao {
	public List<Map<String, Object>> getPurchaseOrderBillDetailListByBillCode(String[] billCode);
	/**
	 * 添加订单详细
	 * @param pDetail
	 * @return
	 */
	int addPurchaseOrderBillDetail(@Param("pDetail")PurchaseOrderBillDetail pDetail);
	/**
	 * 修改订单详细
	 * @param pDetail
	 * @return
	 */
	int modifyPurchaseOrderBillDetail(@Param("pDetail")PurchaseOrderBillDetail pDetail);
	/**
	 * 根据编号查询详细
	 * @param code
	 * @return
	 */
	List<PurchaseOrderBillDetail> getpurchaseOrderBillDetailsByCode(@Param("code")String code);
	/**
	 * 删除订单明细
	 * @param code
	 * @return
	 */
	int delPurchaseOrderBillDetail(@Param("code")String code);
}
